﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TemplateWeb.Models.ViewModels.GroupViewModel>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="box_border" style="margin: 10px 0 12px 5px; border: none;">
        <div class="NewsDetail">
            <div class="NewsDetail-title">
                <h1 class="titlePage">Khách hàng thiết kế website</h1>
            </div>
            <div class="ArticleContent">
                <div class="topProducts">
                    <% 
                       int numRow = 0;
                       for (int i = 0; i < Model.KhachHangModel.GetModel.LstObjModel.Count; i++)
                       {
                           if (i % 4 == 0)
                           {
                               numRow++;
                               if (numRow < (Model.KhachHangModel.GetModel.LstObjModel.Count % 4 == 0 ? Model.KhachHangModel.GetModel.LstObjModel.Count / 4 : (Model.KhachHangModel.GetModel.LstObjModel.Count / 4 + 1)))
                               { %>
                                    <ul class="goiThietKeWebTheoNganh" style="margin-left: 0px; padding-left: 30px;">
                            <% }
                               else
                               { %>
                                   <ul style="margin-left: 0px; padding-left: 30px; list-style: none; height: 160px;">
                            <% }
                           } %>

                                        <li>
                                            <div class="itemProducts">
                                                <a href="<%= Model.KhachHangModel.GetModel.LstObjModel[i].URL %>" target="_blank">
                                                    <img src="../../Content/Images/Items/<%= Model.KhachHangModel.GetModel.LstObjModel[i].HinhMinhHoa %>" alt="" border="0" />
                                                </a>
                                                <a href="<%= Model.KhachHangModel.GetModel.LstObjModel[i].URL %>" target="_blank"><%= Model.KhachHangModel.GetModel.LstObjModel[i].TenCongTy %></a>
                                            </div>
                                        </li>

                        <% if (i % 4 == 3)
                           { %>
                            </ul>
                        <% } %>
                    <% } %>
                </div>
            </div>
            <div class="other"></div>
        </div>
    </div>
    <div class="box_border" style="margin: 10px 0 12px 5px; border: none;">
        <div class="NewsDetail">
            <div class="NewsDetail-title">
                <h1 class="titlePage">Khách hàng làm phần mềm</h1>
            </div>
            <div class="ArticleContent">
                <div class="topProducts">
                    <% 
                       numRow = 0;
                       for (int i = 0; i < Model.KhachHangLamPhanMemModel.GetModel.LstObjModel.Count; i++)
                       {
                           if (i % 4 == 0)
                           {
                               numRow++;
                               if (numRow < (Model.KhachHangLamPhanMemModel.GetModel.LstObjModel.Count % 4 == 0 ? Model.KhachHangLamPhanMemModel.GetModel.LstObjModel.Count / 4 : (Model.KhachHangLamPhanMemModel.GetModel.LstObjModel.Count / 4 + 1)))
                               { %>
                                    <ul class="goiThietKeWebTheoNganh" style="margin-left: 0px; padding-left: 30px;">
                            <% }
                               else
                               { %>
                                   <ul style="margin-left: 0px; padding-left: 30px; list-style: none; height: 160px;">
                            <% }
                           } %>

                                        <li>
                                            <div class="itemProducts">
                                                <a href="<%= Url.Action("KhachHangLamPhanMem", "Home", new { id = Model.KhachHangLamPhanMemModel.GetModel.LstObjModel[i].ID }) %>">
                                                    <img src="../../Content/Images/Items/<%= Model.KhachHangLamPhanMemModel.GetModel.LstObjModel[i].HinhMinhHoa %>" alt="" border="0" />
                                                </a>
                                                <a href="<%= Url.Action("KhachHangLamPhanMem", "Home", new { id = Model.KhachHangLamPhanMemModel.GetModel.LstObjModel[i].ID }) %>"><%= Model.KhachHangLamPhanMemModel.GetModel.LstObjModel[i].TenCongTy%></a>
                                            </div>
                                        </li>

                        <% if (i % 4 == 3)
                           { %>
                            </ul>
                        <% } %>
                    <% } %>
                </div>
            </div>
            <div class="other"></div>
        </div>
    </div>
</asp:Content>
